package com.example.test.springbootConfig;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Data 必须有
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class WechatSetting {
    public String token;
    public String appid;
    public Person[] persons;
}
